/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import { AppRegistry } from 'react-native';
import { Provider } from 'react-redux';
import configureStore from './configureStore';
import App from './App';

const store = configureStore({
    selectedTab:"tab1",
    navigationState:{
      tab1:{
        index:0,
        routes:[
          {
            centerTitle:"tab1 index0"
          }
        ]
      }
    }
});

export default class MMRA extends Component {
  render() {
    return (
      <Provider store={store}>
        <App />
      </Provider>
    );
  }
}

AppRegistry.registerComponent('MMRA', () => MMRA);
